<?php

/**
 * 配置文件
 */
return [
    'scheme'   => env('MAIL_SHEME', 'smtp'),// "smtps": using TLS, "smtp": without using TLS.
    'host'     => env('MAIL_HOST', 'smtp.exmail.qq.com'), // 服务器地址
    'username' => env('MAIL_USER', ''),
    'password' => env('MAIL_PASS', ''), // 密码
    'port'     => (int)env('MAIL_PORT', 25), // SMTP服务器端口号,一般为25
    'options'  => [], // See: https://symfony.com/doc/current/mailer.html#tls-peer-verification
    // 'dsn'             => '',
    'embed'    => env('MAIL_EMBED', 'cid:'), // 邮件中嵌入图片元数据标记
    'from'     => [
        'address' => env('MAIL_FROM', ''),
        'name'    => env('MAIL_FROM_NAME', ''),
    ],
    'msgdefined'  =>[
        'api' => env('DEFINED_API', ''),
        'apikey' => env('DEFINED_API_KEY', ''),
        'apisecret' => env('DEFINED_SECRET_KEY', '')
    ],
    'baidu' =>[
        'apikey' => env('BAIDU_API_KEY', ''),
        'apisecret' => env('BAIDU_SECRET_KEY', ''),
        'token_api' => env('BAIDU_TOKEN_API', '')
    ]
];
